package com.ztgf.shopping.models.dto.audit;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("audit_log")
@ApiModel(value="审核表日志对象", description="审核表日志对象")
public class AuditLogDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "店铺ID")
    private Long shopId;
    @ApiModelProperty(value = "审核表ID")
    private Long auditId;
    @ApiModelProperty(value = "公司名称")
    private String name;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
    @ApiModelProperty(value = "审核内容")
    private String params;
    @ApiModelProperty(value = "审核类型 0注册，1开店，2资质变更，3新增品牌，4新增类目")
    private Integer type;
    @ApiModelProperty(value = "审核状态 0审核中，1审核通过，2审核打回，3审核不通过,4重新提交")
    private Integer status;
    @ApiModelProperty(value = "审核意见")
    private String content;
    @ApiModelProperty(value = "操作完成状态 0未完成，1已完成")
    private Integer optStatus;
    @ApiModelProperty(value = "创建人名字")
    private String createUserName;
}
